package org.springblade.mes.logistics.entry.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.mes.logistics.entry.entity.WarehouseEntry;
import org.springblade.mes.logistics.entry.model.WarehouseEntryBean;

import java.util.List;

@DS("logistics")
public interface WarehouseEntryMapper extends BaseMapper<WarehouseEntry> {

    List<WarehouseEntryBean> queryList(@Param("entity") WarehouseEntryBean entity);

    List<WarehouseEntryBean> queryPageList(IPage page, @Param("entity") WarehouseEntryBean entity);

    void refreshUpdateTime(@Param("entity") WarehouseEntryBean entity);
}
